package com.mall.db.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.mall.db.dao.CommentsDao;
import com.mall.db.domain.Comments;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 评论管理表 服务实现类
 * </p>
 *
 * @author HQJ
 * @since 2021-09-22
 */
@Service
public class CommentsService extends ServiceImpl<CommentsDao, Comments>{

    @Autowired
    private CommentsDao cd;


    public List<Comments> find(){
        return cd.find(new Comments());
        /*
        List<Comments> c =  cd.find(new Comments());
       return c;
        */
    }
}
